package com.light.dp.flink.batch;

import java.sql.Timestamp;

// 定义 QuickChatMsg 类来表示表中的一行数据
class QuickChatMsg {
    private long id;
    private String fromId;
    private String toId;
    private String relationId;
    private String content;
    private byte msgType;
    private String extraInfo;
    private Timestamp createTime;
    private byte deleted;

    public QuickChatMsg(long id, String fromId, String toId, String relationId, String content, byte msgType, String extraInfo, Timestamp createTime, byte deleted) {
        this.id = id;
        this.fromId = fromId;
        this.toId = toId;
        this.relationId = relationId;
        this.content = content;
        this.msgType = msgType;
        this.extraInfo = extraInfo;
        this.createTime = createTime;
        this.deleted = deleted;
    }

    // Getters 和 Setters 方法
    public long getId() {
        return id;
    }

    public String getFromId() {
        return fromId;
    }

    public String getToId() {
        return toId;
    }

    public String getRelationId() {
        return relationId;
    }

    public String getContent() {
        return content;
    }

    public byte getMsgType() {
        return msgType;
    }

    public String getExtraInfo() {
        return extraInfo;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public byte getDeleted() {
        return deleted;
    }
}
